/* eslint-disable max-len */
export default {
    '*': /[\w\W]+/,
    p: /^[0-9]{5,11}$/,
    pwd: /(?!\d+$)[\dA-Za-z\W]{8,20}$/,
    password: /(?!\d+$)[\dA-Za-z\W_]{8,20}$/,
    passport: /^(?!_-)(?!.*?_$)([a-zA-Z0-9\s,'.]){5,20}$/,
    pinyin: /[A-Za-z]$/,
    e: /^[.a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/,
    email: /^[.a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/,
    xss: /^([^/\\/:<>!\*\|"\?\$\=\%\^\#])*$/,
    smsCode: /^\d{6}$/,
    ip: /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])(\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])){3}(,(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])(\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])){3}){0,3}$/,
};
